so, apparently, @specialized classes don't preserve serialversionuid.
add a writereplace/readresolve method