When QML calls Go methods convert type if possible