I'm having problems with a mismatch in data types between the output of the "Respond to a PowerApp or Flow" action and the expected data type in PowerApps. Also, the variable name doesn't respect the camel case I give it in the flow.
I'm using the PowerApps connector, "Respond to a PowerApp or Flow" action. The output type selected in the action is not respected when passing the data back to PowerApp, it seems that no matter what data type I select for the output, it is passed as a string.
For example, when I select "Number" as the output type, the json is formatted as string and I see the mismatch error in Monitor: you can see in the output that by enclosing the value in quotes, it is a string:


The same situation arises with Yes/No datatype:

How can I ensure I have the same data type between the output from the Flow and the expected data type in PowerApps - why isn't the data type being respected?
I have success only when I use the "Text" output type in the "Respond to a PowerApp or Flow" action. I'd like to be able to use the other output types, otherwise what is the point of having different output types if they are not actually respected in the JSON?