sanitizeHTML stringifies objects to json