read options from default_serializer_options.

I just added spec for it based on @andrusha's branch.