Converts this image to JSON
Map<String, dynamic> toJson() => <String, dynamic>{ 'url': url, 'width': width, 'height': height, 'size': size, };