Postgresql Query Json Value Python Ide