added support for actions as strings - fixes issue with json-to-ruby conversion