REFACTOR: request trace formatting