Fix a crash when receving something different than a NSDictionary

Fix a crash when receving something different than a NSDictionary to build the model, which can easily happen if the json structure changes