fix aspect.type deserialization