serialize

Produces a JSON representation of this debug info