added mqtt round trip test
convert mqtt payloads to/from json