use the docname rest api from metadata rest service
switch to docnames for metadata interface
remove the last metadata methods from query service