Changed API Response to return back JSON