code: public static Document restoreDots(Document document) {
          return modifyKeys(document, key -> key.replace(TO_REPLACE_DOTS, "."), TO_REPLACE_DOTS);
      }
docs: Restore all the dots in the keys where {@link #TO_REPLACE_DOTS} is found.
  @param document      Document to modify
  @return              Restored document