I remembered from another bit of code I was working on, what we want here is `tpe.resultType.toString`. Much better now :)