begin jsonifying lens data