Some formatting and streamlining for the SubGraphExporter

Specifically being more defensive against a future where indexes and constraints
might have more than one property key.