Convert pcap to json

I don't see where in that string you posted is all the information that you say you want out.
By the way, I don't think that it is JSON that you want out, but a javascript object. A JSON is always a string.
Also please see this post for how to share flows, logs, code etc here.