added classes to json