Adding json parsing of blocks and direct block entry in qt_client.