added a method to retrieve metadata of a peer_ns