update json dependency for rails 4