Non-functional change: Removed empty lines.
#SB-137: Implement artifact searches via REST with XML/JSON results

- Extracted separate writers.
- Implemented indentation.
- Made the artifact client use indentation by default.