protected function parseFilters($filters)
    {
        $parsed = [];
        if (!empty($filters) && is_string($filters)) {
            $filters = trim($filters);
            if (!empty($filters)) {
                $filterArray = array_filter(explode(',', $filters), function ($value){
                    return trim($value);
                });

                foreach ($filterArray as $filter) {
                    list($field, $value) = explode('=', $filter);
                    $field = trim($field);
                    $value = trim($value);
                    if (!empty($field)) {
                        $parsed[$field] = $value;
                    }
                }
            }
        }

        return $parsed;
    }