Abstract Rest Controller Does Not Return 400 If Request Body Malformed

## Abstract Rest Controller Does Not Return 400 If Request Body Malformed

Related to #60. The logic which checks for json_decode errors was not moved correctly.