escaping html characters, json storing fine now