Improve error message for empty JSON payload

https://www.pivotaltracker.com/story/show/69912016

[Delivers #69912016]