enhance swagger annotations to use simpler hash-only format