added initial json generation