Sanitize json