There is no built-in functionality that matches what you describe. You would need to create a custom stage, similar to the XML Formatting stage, that creates XML out of all metadata fields, instead of the subset of the specified fields, like the XML Formatting stage currently does.
Be mindful of the size of the annotation you are creating though.