restful endpoint for mock datastore service, in golang