MessageDecoder now decoding the json message, and test of the decoder