Fixed bug where Infinity and -Infinity are lost on round trip through JSON