Added json export to pipeline