Validate the json and if its wrong just throw it away. Makes no sense trying to fix/guess the correct form of an input.