change action keys to strings