Add metadata wrangling functions to qiita_ware

These few functions are part of the requirements that we outlined yesterday
to provide a metadata upload/review workflow.
This cast will not be necessary if out is changed to a normal ```dict```