Improvements to Objective-C JID class