use simple-json on queries, start working on responses