Update metadata attributes to include hash datatype.

Unsure which version of Chef introduced support in knife to generate metadata with type hash, however this is valid; tested in Chef 11.8.0.