public function renderJson($data, $status = 200) {
		$app = \Slim\Slim::getInstance();

		$app->response()->status($status);
		$app->response()->header('Content-Type', 'application/json');

		$body = json_encode($data);
		$app->response()->body($body);
		$app->stop();
	}