Created a structure to enable pseudo-polymorphic parsing of the JSON.