Postgresql Select Json Array Syntax Python