Returns a JSON representation of FontParams.
Map<String, dynamic> toJson() { return {'Family': family, 'Size': size, 'Style': style}; }