Improved __iter__ implementation to ease serialization of YouTrack objects