Try to decode JSON the request

lessons learned from [ng-admin](https://github.com/Gizra/restful/issues/191)

Also, ng-admin sends ``id: null`` on POST. @mateu-aguilo-bosch apart of unset of the ``$request['id']`` can you think of a nicer way?