change metadata handling for metalsmith 1.0.1