stringify unified between linux and mac