Initial work to conform the API responses to the JSON API standard.
Additional refactoring for conforming to JSON API as well as input sanitization and error checks for searches.
Moved where parameter sanitization to internal method.
Updated package.json and removed unnecessary inclusion of validator.