Added prettification of pairs output