public String serializedRecursiveParserWrapperExample() throws IOException, SAXException, TikaException {
        List<Metadata> metadataList = recursiveParserWrapperExample();
        StringWriter writer = new StringWriter();
        JsonMetadataList.toJson(metadataList, writer);
        return writer.toString();
    }
We include a simple JSON serializer for a list of metadata with
{@link JsonMetadataList}.
That class also includes a deserializer to convert from JSON
back to a List<Metadata>.
<p>
This functionality is also available in tika-app's GUI, and
with the -J option on tika-app's commandline.  For tika-server
users, there is the "rmeta" service that will return this format.

@return a JSON representation of a list of Metadata objects
@throws IOException
@throws SAXException
@throws TikaException
tika-example/src/main/java/org/apache/tika/example/ParsingExample.java