pretty print entities before submission