Function responsible for creating an instance of type T from two maps mapping children names to their values and properties.
T
Type of instance being created.