add algorithm to json initialization data