Fixed badly formed json errors.