Adds 'metadata' key to list of options for xml responses.

Change-Id: I27a976f99ba92c9255abb3eafff2d7e9c4163656
Closes-Bug: #1256926