Currenty, fromJson methods in models do not output very useful errors.
I would like for them to output errors when there are too many fields, or missing some required fields.
Or maybe these kind of checks should be elsewhere.
Also, maybe there should be a more generic modelFromJson method?