started json_encdoe function and html_entity_decode in coffee, working on the clean function