pulled binary stuff into a new serializer