Multigraph handling for JSON formats

The multigraph handling when producing formats for JSON serialization didn't account for edge keys.  The keys are now included in the edge/link data.

Fixes #827