spotify: rewrite #metadata to use Metadata objects