response: do not write 0 status codes
json: indents json response for readability