allow encoding null values
run go fmt
Merge pull request #1 from edmodo/master

Add support for encoding null values