this could be removed if NrvProtobufSerializer is an object