make metadata optional in responses
Merge pull request #234 from jfgodoy/metadataOptions

make metadata optional in responses