Always write Vids using variable encoding

Also, autoformat Serializers.scala.