Move action parameter from data to fixed api format to be able to select events based on this parameter