make json for displays and lights