get class data as json