Fix bug in ureport response generation
Ruby 1.8 compatibility