Returning 400 Bad Request error for unparseable JSON, adding ITs

Fixes https://www.pivotaltracker.com/story/show/71840260