communicate with json objects