Fixed defect - had my to_json in the wrong place...
Added simple table to show details of last or current pipeline.