Don't normalize literals.
Use SWObjects instead of cwm to check graph equality.