Creating classes for representing JSON objects