code: function(request, data){
    request.source_endpoint = data[1];
    request.type = data[2];
    parseType(request, data);
  }
docs: TODO: create a separate return object in handler rather than modifying the request.