now also showing JSON output
better design
whitesaces#