from_query for SQL-like JSON querying.