convert php values to strings