Fix for #96, @possible handles nulls for arrays and objects.
Refactoring for util.deserializeFromJson
Merge pull request #97 from DSoftOut/issue-96

Fix for #96, @possible handles nulls for arrays and objects.