Fixed converter to use star-projections instead of Any? types to ensure valid kotlin