deriveJSON for Alternatives