Added a QueryObject server request in addition to some deserialization code in ppmlib.py.