tiny pep8 formatting
Remove unused funtion
JSONAPI: stricter checking of inputs

If any request field is not used to create objects or set field values,
an error is raised and the request is aborted.