save the camera-target information in JSON format