edited json to reflect different client states