fix #22, #24, and #25 optional serializers

 On branch master

	modified:   index.js
	modified:   test/test.js