Adding a helper to define generic picklers with a different root element name