Small improvements to robustness
Use json-read and TryPostAndReply for speed and safety