[Spark] 1d, 2d, 3d json report in py