A network packet serializer and deserializer for SDN powered by Scala