Removed json encoding/decoding

Only string messages are being sent for now. In the future if a more
complex structure is needed, json encoding/deconding can be added again.