Extract data from PostgreSQL JSON fields.