Chaotic code in this commit now finally gets a json from QPX service