Pull out SoQLTypeCodec and make RollupInfo use AutomaticJsonCodecBuilder for the win.