get_node_metadata function written after creating a file node, since for filling metadata attributes requires the node
get_node_metadata function removed from get_node_common_fields, since for filling the metadata attributes requires node, also unused parameter 'node_type' removed from get_node_metadata function
get_node_metadata function called after page node will get save, since it requires node first to save the attributes value
now metadata will be edited only when click of metadata tab from topic context, get_node_metadat function called after topic node gets saved