Add "name" attributes to metadata.

This fixes #150.
Merge pull request #154 from berkes/feature/150-names-required

Add "name" attributes to metadata.