#461 Use direct serialization of nulls first/last