rearrange resource hierarchy to better distinguish graph from metadata resources