Hi,
support for native Jinja2 types [1] has been merged to devel. The
target release is 2.7. The plan was to merge the pull request once
devel becomes "future 2.7" so we get as much testing as possible.
The feature is disabled by default and needs to be switched on [2]
before using it. For more information please consult the pull request,
especially the integration tests part.
If you find any issues please file a bug report so we can polish the
feature as much as we can.
Thanks!
Martin
[1] https://github.com/ansible/ansible/pull/32738
[2] https://github.com/ansible/ansible/pull/32738/files#diff-fd24ad93fbc32f454761746c1ac908f2R697