You are absolutely correct. This is a short term technical debt to be able to do this now. I don't really see a way of doing type coercion without a lot of work.

I know you've spent some time thinking and prototyping around this. If you have a solution, I would love to use that instead.