code: function (){
      var out = {}
  
      if(this.profiles.length !== 0){
        out.profiles = this.profiles
      }
  
      if(this.noProfilesFound.length !== 0){
        out.noProfilesFound = this.noProfilesFound;
      }
  
      if(utils.hasProperties(this.combinedProfile)){
        out.combinedProfile = this.combinedProfile
      }
  
      return out;
    }
docs: converts the data structure into a compact version for output