package to extract metadata from data