Added a class for return json info