I am trying to use jsonb_path_match() as per https://www.postgresql.org/docs/current/functions-json.html as suggested in How can I prevent SQL injection with arbitrary JSONB que