docs: @SuppressWarnings("deprecation")
      @RequestMapping(value = "/api/backup/profile/{profileIdentifier}/{clientUUID}", method = RequestMethod.GET)
      public
      @ResponseBody
      String getSingleProfileConfiguration(Model model, HttpServletResponse response,
                                           @PathVariable String profileIdentifier,
                                           @PathVariable String clientUUID,
                                           @RequestParam(value = "oldExport", defaultValue = "false") boolean oldExport) throws Exception {
          int profileID = ControllerUtils.convertProfileIdentifier(profileIdentifier);
          response.setContentType("application/json");
  
          ObjectMapper objectMapper = new ObjectMapper();
          ObjectWriter writer = objectMapper.writerWithDefaultPrettyPrinter();
  
          if (oldExport) {
              response.addHeader("Content-Disposition", "attachment; filename=Config_and_Profile_OLD.json");
          } else {
              response.addHeader("Content-Disposition", "attachment; filename=Config_and_Profile_Backup.json");
          }
          ConfigAndProfileBackup configAndProfileBackup = BackupService.getInstance().
              getConfigAndProfileData(profileID, clientUUID);
          return writer.withView(ViewFilters.Default.class).writeValueAsString(configAndProfileBackup);
      }