#95 Serialization parameters added.

I added a parameter for serializer.
Can you please add i to document if PR is ok.

Thanks.