Use new-style metadata in example
Make it so that the example runs without error
Merge pull request #47 from jpmckinney/metadata

Update example to use new-style metadata