Wrap protected functions simple result with function name key.
Like ['data' => ['function' => $ret]]