fix formatting for entity annotations