bug fixes
fix floating point formatting in ToJSONString