added options and verbosity in serializer