Update Python client to new JSON response format

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>