JSON: is it really forbidden by the json standard to write
"a" :
{42}
rather than
"a" :{
42}
?
It may be acceptable by json standard but any json validator fixes the code that way.
May be the problem occurs when using 'json.parse' where every single string should be understood as it should be. For example the string starting with "hashrate": should end with a value or a bracket.
I maybe wrong ofcourse.