uses parsed json instead of raw response in controller