return ErrorReponse when invalid request

Returning ErrorReponse when:
- JSON invalid
- HTTP method invalid