deprecate GSResourceEncoder.setMetadata in flavour of specializations