Handle malformed JSON/requests