replace tabs with spaces
explicitly missing key or empty str signals to use cwd