Convert json string to camera object