[#516]Serializes aType as type