OGM-624 Avoid creation of unecessary map creation in CouchDB

  Without this commit the build fails with JDK 8 and 9 but
  works with JDK 7.

  I couldn't figure out why.
OGM-624 Additional JavaDoc in EntityDocument