extract and parse json from prinseq output