load_struct_from_dict
This function populates a struct recursively from a dictionary.
Assumptions: Currently the struct cannot have a dictionary for one of the objects as that will start recursing.