plugins/flatpak: Allow to use YAML flatpak manifests
Convert the manifest to JSon using the same function as done within Flatpak itself.
Add a multi-pattern discovery function too.
Convert the manifest to JSon using the same function as done within Flatpak itself.
Add a multi-pattern discovery function too.