RESTful routes for JSON resources, BYODB