return an XML form from RestApi, process single-xmlid returns in os-id-list, fixes #21