allow for nested arrays when setting allowed actions and params