- Handle special case where we want an Int, but the JSON returns a String

I'm finding that sometimes JSON returns an integer wrapped in a string. JSONHelper won't convert it into an Int. This pull request handles the case where the JSON can't be cast to an Int, but can be cast to a String and then the String can be converted to an Int.