src/KapApigility/EntityRepositoryResource.php
protected function sanitizeData($data)
    {
        $ret = [];

        foreach($data as $key => $value) {
            if($key[0] === '_') {
                continue;
            }

            $ret[$key] = $value;
        }
        
        return $ret;
    }
protected function sanitizeData($data)
    {
        $ret = [];

        foreach($data as $key => $value) {
            if($key[0] === '_') {
                continue;
            }

            $ret[$key] = $value;
        }
        
        return $ret;
    }
Removes all underscored properties e.g. _links _embedded

@param $data
@return array