Number problems with JSON, Perl and DBD::Oracle

I’m developing a little Oracle reporting tool using Perl Dancer and Google Charts and I’ve hit an issue with JSON::XS output of number columns being quoted. Here’s a small example of the problem with the solution I found.

And now if we run this we get the number 1 with quotes – “1”. Thats…