Fix JSON parsing in ruby recipe code.