Add name attribute to metadata

Ridley and potentially other libraries need the name attribute in the metadata.
Merge pull request #9 from bluk/master

Add name attribute to metadata