Transform NSNull to Swift nils