Produces a Map that can be serialized to JSON.
Map<String, dynamic> toJson() { return <String, String>{ 'name': name, 'version': version, }; }