Fixed Model's "get" method to return passed default param when the value of a key is null. typeof(null) resturns "object" and def is not returned in this case.