Use JSON so we don't have to parse data-rels manually (#3436).
Authored by: jplang 2013-01-05
Parent: [r11118]
Child: [r11120]