CORE-5061: added attribute IDs to the metadata template viewing service