move creation of properties map into struct_node