The unit_profile doesn't have a formal definition that I'm aware of that it has to be a list of dictionaries. Does it? If not, we might have to just put object as the type here.