diff --git a/PhealElement.php b/PhealElement.php
index <HASH>..<HASH> 100644
--- a/PhealElement.php
+++ b/PhealElement.php
@@ -91,8 +91,11 @@ class PhealElement implements PhealArrayInterface
         $return = array();
         foreach($this->_attribs AS $key => $value)
             $return[$key] = $value;
-        
-        $return[$this->_name] = ($this->_value instanceof PhealArrayInterface) ? $this->_value->toArray() : $this->_value;
+
+        if($this->_value instanceof PhealArrayInterface)
+            $return = array_merge($return, $this->_value->toArray());
+        else
+            $return[$this->_name] = $this->_value;
 
         return $return;
     }
diff --git a/PhealResult.php b/PhealResult.php
index <HASH>..<HASH> 100644
--- a/PhealResult.php
+++ b/PhealResult.php
@@ -108,12 +108,10 @@ class PhealResult implements PhealArrayInterface
     public function toArray()
     {
         if($this->_element instanceof PhealArrayInterface)
-            return array_merge(
-                array(
-                    'currentTime' => $this->request_time,
-                    'cachedUntil' => $this->cached_until,
-                ),
-                $this->_element->toArray()
+            return array(
+                'currentTime' => $this->request_time,
+                'cachedUntil' => $this->cached_until,
+                'result' => $this->_element->toArray()
             );
         else
             return array();
fixed handling of nested PhealContainer elements inside of PhealElement when accessing data with toArray() method