Effect of formate fluids on the shale stabilization of shale layers