alphagov/vcloud-tools — pull request #58 by mikepea (2013-12-09 16:00:56+00:00)
Title: Support Query metadata in a more useful manner

### SPECULATIVE PULL REQ -- please discuss ###

Whilst entity metadata was supported in fields and filters, it was not particularly elegantly returned -- the raw MetadataValue hashes from Fog were returned.

This pull req splits out the logic from vapp_get_metadata_hash into a Vcloud module helper method, and tidies up the metadata key naming in the internals (and subsequently the YAML output)

A refactor of the TSV and CSV (tabular) output methods was needed to account for vCloud not returning metadata values that do not exist.