Move validate_query and break out the parser and formatter
Fix validation of query strings containing only a number. Closes #1832
Coerce all non-strings & non-objects into strings
Tests for fromUser and toUser in query validator
move from camel case to snake case
Merge pull request #1969 from rashidkpc/fix/query-validator-numbers

Fix query validation of numbers. Closes #1832