Fix 'metadata' conversion
As mentioned in #33, the metadata
key wasn't being converted correctly. Thanks for fixing this @ghostec!
Before
metadata: [[Object object]]
After
metadata {
expression = "some_expression"
alias_name = "some_alias"
}