Update ODocument.java

Add to toMap function for ODocument