Serialization parameters added. #95

I added a parameter for serializer.
Can you please add i to document if PR is ok.

Thanks.
This file should be reverted. Use git global config to do that, not the gitignore on project. (You must clear git cache to take effect after the global config was configure).