Making deep_struct faster

Moving `convert_element_if_possible` calls to `initialize` makes deep_struct significantly faster.