Parse stringified JSON query

When trying to run ElasticSearch queries on nested fields, Firebase breaks the query (because the "." isn't allowed as a Firebase key). The can be avoided if the query data is stringified before pushing to Firebase.