Check for NSNull before transforming dictionary.