Request now returns data correctly

Needed JSON format otherwise it returned NULL