fix toJSON for number precision issue
Merge pull request #8 from uxnow/fix-toJSON-precision-issue

fix toJSON for number precision issue