Fixing issue with type property being lost on serialization