added response when malformed JSON object is encountered