The way Javascript and PHP deals with overly large integers - is to export them as a JSON strings.
I remember this being a fiasco when facebook went to 64bit IDs, and broke a bunch of APIs.

The best thing about this class - is it's open source. We can modify it to suit specific needs, and edge case behavior.