Rewrite QML wallpapers metadata with JSON

Use the new metadata format.