integrated JSON generator