fix to JSON response