changed activate to json