[graph-tool] Efficient property map handling