code: function exportEntities(passedConfiguration) {
    init(passedConfiguration);
    createJHipsterJSONFolder(
      passedConfiguration.application.forSeveralApplications ? configuration.application.name : ''
    );
    if (!configuration.forceNoFiltering) {
      filterOutUnchangedEntities();
    }
    if (shouldFilterOutEntitiesBasedOnMicroservice()) {
      filterOutEntitiesByMicroservice();
    }
    writeEntities(passedConfiguration.application.forSeveralApplications ? configuration.application.name : '');
    return Object.values(configuration.entities);
  }
docs: Exports the passed entities to JSON.
  @param passedConfiguration the object having the keys:
  - entities: the entity objects to export (key: entity name, value: the entity),
  - forceNoFiltering: whether to filter out unchanged entities,
  - application:
  - forSeveralApplications: whether more than one application have to be generated,
  - name: application base name,
  - type: application type
  @returns The exported entities.