refactor(netconf): Move netconf processing and handle metadata