[Issue #65] Fixing JSON error in Ruby 2.0