try both normal and lowercase key
@@ -332,6 +332,9 @@ func filterResultValue(result Result, filter string) (interface{}, error) {
}
value := jsonResult[filter]
+ if value == nil {
+ value = jsonResult[strings.ToLower(filter)]
+ }
if value == nil {
return nil, fmt.Errorf("value for filter: '%s' doesn't exists, possible values to filter by: %s", filter, possibleFilters)
