convert queries to lower case
API: string to numbers conversion / values are in arrays except for min and max which are in object form / convert all characters to lower cases