Allow multiple metadata attributes

This change will allow the api adapters to translate multiple metadata attributes as will as individual ones. We realise converting all values to an array is not the best solution although we are happy with this change until we are sure of how we expect this to work.
Do we need this? It doesn't appear to have any impact on the rest of the tests