Get rid of bash specific syntax for variable dereferencing, replacing it