private function forceObject($params)
    {
        $forceObject = false;
        if (isset($params['force_object']) && is_bool($params['force_object']) && true === $params['force_object']) {
            $forceObject = JSON_FORCE_OBJECT;
        }

        return $forceObject;
    }