json generation added