add frame/packet serializer