Updates to serializer and deserialzer to handle 10 bit data.