First pass at generic processing of JSON output.