Basic code for working with datapackages