[2615] reintroducing XMLExporter#getRole makes mediport build happy