Include the resource metadata in the package

Also, use a nice way to retrieve it, without hardcoding a path.