Created JsonApi class that is initialized with a db.Model name and a API root path.
Exposes create, read, update, delete, and search methods. Each calls the underlying REST API and returns the appropriate response.