formatJson

Format this string to remove space(s) between $ and next char