[Transformation] Export result as "type" in addition to "Type"

Lets's be consistent with the stdlib...