Use JSONGem is Ruby version is below 2.0.0