Working on decoding of mqtt messages