reformatting log responses