code: function callbackHandler(callback) {
          return function(error, data) {
              if (data === 'OK') {
                  callback();
                  return;
              }
  
              callback(error, deserializeResponse(data));
          };
      }
docs: Callback handler
  @param {Function} callback
  @returns {Function}