json is now being returned in the response