added variables to JSON