Added a proper JSON output function again (one that includes info on how to reconstruct a value from a plan).
Added a proper JSON output function again (one that includes info on how
to reconstruct a value from a plan).

ulricha/dsh