Adding JSON query server and client along with relevant queries