Add support if invalid JSON is received.