using libqjson for serializing/parsing JSON