bugfix: dump nil instead of empty string

ActiveRecord serialize postgres bug:
PG::InvalidDatetimeFormat: ERROR:  invalid input syntax for type time: ""
Merge pull request #8 from joe81/master

bugfix: dump nil instead of empty string