added readability for json formatted responses
added readability for json formatted responses