This is a Java class to do the mapping between NAF documents and MongoDB