covert indentations to spaces, add bool and null type