protected function getJsonContents($pluggable)
    {
        $pluggable = Str::studly($pluggable);
        $default = [];

        if (!$this->pathExists($pluggable)) {
            return $default;
        }

        $path = $this->getJsonPath($pluggable);

        if ($this->files->exists($path)) {
            $contents = $this->files->get($path);

            return json_decode($contents, true);
        } else {
            $message = "Pluggable [{$pluggable}] must have a valid pluggable.json file.";

            throw new FileNotFoundException($message);
        }
    }