Added MessageImpl#toJSONObject and applied it to theMessageChannel#sendMessage implementations (commit: 8bb8a1a)