Check pg version for json.