Made it return the JSON