Don't cast null -> {} for type Object
Merge pull request #19 from bengourley/master

Don't cast null -> {} for type Object