lib/merry/Container.php
protected function arrayify(Container $o) {
		$a = [];
		
		foreach ($o->props as $k => $v) {
			if ($v instanceof Container) {
				$a[$k] = $this->arrayify($v);
			} else {
				$a[$k] = $v;
			}
		}
		
		return $a;
	}
protected function arrayify(Container $o) {
		$a = [];
		
		foreach ($o->props as $k => $v) {
			if ($v instanceof Container) {
				$a[$k] = $this->arrayify($v);
			} else {
				$a[$k] = $v;
			}
		}
		
		return $a;
	}
Recursively turn a container and its childs into an array
@param \merry\Container $o the Container instance to convert to an array
@return array