Give nice messages on invalid JSON