upgrade json for rails 4.1.8