Convert directory get and watch to v2 protocol