public function toJson()
	{
		if ( $this->hierarchies === null )
			throw new Exception( "Hierarchies have not been generated.  Run preparePresentation() first." );

		$roles =& $this->taxonomy->getPresentationRoleRefs();

		foreach ( $this->hierarchies as $roleKey => &$role )
		{

		}
	}