Add support for to_yojson, of_yojson partial derivers and shortcuts.