Allow any array or object implementing ArrayAccess for config based definition.

This removes the dependency on the `orno/config` package when wanting to use configuration.