Parse config files based on the libconfuse format.
Parse a configuration string into a structured map.
@spec parse(data :: String.t()) :: {:ok, map()} | {:error, :parsing_failed}