Added parsing of qmd.out response into JSON.