Added serialisation benchmark and specialised the code.
Runtime is:
time                 491.8 ms   (484.4 ms .. 504.2 ms)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 495.3 ms   (492.9 ms .. 497.4 ms)
std dev              3.207 ms   (0.0 s .. 3.496 ms)
variance introduced by outliers: 19% (moderately inflated)