Added tags class to extract hash of metadata