Fix error with Edits and JSON parse error handling.