presto-accumulo/src/main/java/io/prestosql/plugin/accumulo/metadata/ZooKeeperMetadataManager.java/ZooKeeperMetadataManager/toJsonBytes
class ZooKeeperMetadataManager:    private byte[] toJsonBytes(Object obj)
            throws IOException
    {
        return mapper.writeValueAsBytes(obj);
    }