code: function freezeOrganization(organization) {
      if (organization.propertyMap) {
          organization.propertyMap = Object.freeze(organization.propertyMap);
      }
      return domain.freeze(organization);
  }
docs: turns the object deeply immutable.
  
  @param organization to freeze.
  @return {Organization} organization for convenience.
  
  @internal for library use only.