fixed string indentation in serialization
improved indenation test