Testing with message passing

Implemented JSON message passing. Node only doesn't always receive
Python's messages, I'm not sure what's going on. Let's revisit it later.