Possibly use python capsules as objects for interacting with symdiff, instead of just parsing strings