Fixing JSON number parsing. Closes #7