XML now have indented option

Closes #612.

Like Gson serialization, XML now is serialized without indentation by default. And an option to indented was added.

Note: after this pull request, I can add option to get from environment properties.
Good idea. :+1: 

Thanks for the explanation.

But in Environment docs, don't explain about the fallback if porperty isn't found.