serialization madness, reverse bytes order