beautifying endpoint responses