BUG: the "devs" command returns invalid JSON if no shares have been accepted yet:
"Difficulty Accepted": -nan,
"Difficulty Rejected": -nan,
I don't get that when I try:
"Difficulty Accepted":0.00000000,"Difficulty Rejected":0.00000000
Perhaps you're trying to read them as integers? (They're doubles).