[dm-types] Updated DM::Json.typecast to handle nil values
[dm-types] Updated DM::Json.typecast to handle nil values

* Minor code cleanup

[#609 state:resolved]

merbjedi/dm-more-hacked,bterlson/dm-more,cachafla/dm-more,bterlson/dm-more,merbjedi/dm-more-hacked