was displaying json to user