Using the JSON Api and calculated fields how to retrieve integer values?

Hi there, I am using the JSON API to retrieve submissions and these submissions have a calculated field in them. I am calculating a score based on some questions. When I retrieve the submission using the JSON API I always get a "string’ based value instead of the expected integer/number.

Simple example…

Calculated Question with

Data Column Name: calculation and calculation : 1+1

When doing a submission and exporting the result this is the data that is retrieved clearly indicating a String value

    "calculation": "2"