json decoder/encoder- support payload w json substring