Remove redundant nesting in the return value of get_properties_metadata