function loadJsonAsArray($pFile)
    {
        $contents = \file_get_contents($pFile);
        $returnValue = \json_decode($contents, true);

        if (!$this->isArray($returnValue)) {
            $returnValue = [];
        }

        return $returnValue;
    }