Add json serialization method to findQueryOne
Fix findQueryOne method signature in store.js
Add some tests for the findQueryOne method on the rest_adapter