https://github.com/pwallace/metadata-processing/