use the postgresql branch of jsonfield
check for empty query parameters when handling searches