Postgres Json Get Value From Tuple Python Meaning