Here is a complete error log 

```
<?php defined('SYSPATH') OR die('No direct script access.'); ?>
2013-02-26 22:11:30 --- EMERGENCY: ErrorException [ 500 ]: Undefined property: Controller_Portfolio::$_response_types ~ MODPATH/restful/classes/RESTful/Controller.php [ 160 ] in /Users/gc/Sites/BoxMarket/boxmarket/modules/restful/classes/RESTful/Controller.php:160
2013-02-26 22:11:30 --- DEBUG: #0 /Users/gc/Sites/BoxMarket/boxmarket/modules/restful/classes/RESTful/Controller.php(160): RESTful_Core::error_handler(8, 'Undefined prope...', '/Users/gc/Sites...', 160, Array)
#1 /Users/gc/Sites/BoxMarket/boxmarket/application/classes/Controller/Portfolio.php(14): RESTful_Controller->before()
#2 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Controller.php(69): Controller_Portfolio->before()
#3 [internal function]: Kohana_Controller->execute()
#4 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Request/Client/Internal.php(97): ReflectionMethod->invoke(Object(Controller_Portfolio))
#5 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response))
#6 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Request.php(990): Kohana_Request_Client->execute(Object(Request))
#7 /Users/gc/Sites/BoxMarket/boxmarket/application/classes/Controller/Panel.php(45): Kohana_Request->execute()
#8 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Controller.php(84): Controller_Panel->action_back()
#9 [internal function]: Kohana_Controller->execute()
#10 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Request/Client/Internal.php(97): ReflectionMethod->invoke(Object(Controller_Panel))
#11 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response))
#12 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Request.php(990): Kohana_Request_Client->execute(Object(Request))
#13 /Users/gc/Sites/BoxMarket/boxmarket/index.php(118): Kohana_Request->execute()
#14 {main} in /Users/gc/Sites/BoxMarket/boxmarket/modules/restful/classes/RESTful/Controller.php:160
2013-02-26 22:11:30 --- EMERGENCY: ErrorException [ 500 ]: Invalid argument supplied for foreach() ~ APPPATH/classes/Model/portfolio.php [ 112 ] in /Users/gc/Sites/BoxMarket/boxmarket/application/classes/Model/portfolio.php:112
2013-02-26 22:11:30 --- DEBUG: #0 /Users/gc/Sites/BoxMarket/boxmarket/application/classes/Model/portfolio.php(112): RESTful_Core::error_handler(2, 'Invalid argumen...', '/Users/gc/Sites...', 112, Array)
#1 /Users/gc/Sites/BoxMarket/boxmarket/application/classes/Controller/Panel.php(45): Model_Portfolio->getPortfoliosFromJSON(NULL)
#2 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Controller.php(84): Controller_Panel->action_back()
#3 [internal function]: Kohana_Controller->execute()
#4 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Request/Client/Internal.php(97): ReflectionMethod->invoke(Object(Controller_Panel))
#5 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response))
#6 /Users/gc/Sites/BoxMarket/boxmarket/system/classes/Kohana/Request.php(990): Kohana_Request_Client->execute(Object(Request))
#7 /Users/gc/Sites/BoxMarket/boxmarket/index.php(118): Kohana_Request->execute()
#8 {main} in /Users/gc/Sites/BoxMarket/boxmarket/application/classes/Model/portfolio.php:112
```
This is the original call
```
$portfolios = $portfolioModel->GetPortfoliosFromJSON(json_decode(Request::factory('portfolio.json')->query(
											 array('filters' => array('userID' => $this->user->id)))->execute()->body()));
```