code: function getEntityConfiguration(nodePath, extendedEntityConfiguration) {
      //If a node is specified get the direct sub conf.
      if (nodePath) {
          return _getNode(nodePath, extendedEntityConfiguration).toJS();
      }
      return entitiesMap.toJS();
  }
docs: Get all entityDefinition in a JS Structure.
  @param {string} - The node path (with .).
  @param {object} extendedEntityConfiguration - The object to extend the config.
  @return {object} - The entity configuration from a given path.