private static function getHighPrecisionFloatMap($value)
    {
        if (!is_array($value)) {
            return static::getFloatMap($value);
        }

        $floatMap = [];
        foreach ($value as $entry) {
            $floatMap = array_merge(static::getHighPrecisionFloatMap($entry), $floatMap);
        }
        return $floatMap;
    }