test to remove special characters in malformed json