Use Hudson.getVersion() to adapt to different JSON formats.