Replace each tab with 4 spaces
Remove empty lines and optional brackets