Move JSON encoding/decoding from signaling.coffee to main.coffee