The Context class appears to be silently changing arrays to Zend\Config\Config objects
(probably due to the merge() method) so I've added a call to toArray()
when clients of Context are retrieving a Config object.