[CXF-5549] Customizing the contents field, adding a test checking that metadata can be matched, adding methods allowing to extract either the content or metadata only