add actions to json