leverage reusable metadata functions from jnordberg/wintersmith pull request #76