JSON is now passed back to pyqt as a python dict