adding endpoint to strip out comments in a json string