support json/msgpack arrays