add equalprg to format json and ruby hash