rosmsg2json: parse nested messages