save 2d plots to json; more checks on stderr being valid; another missing _pl