TS-76 refactor post resources to use map instead of string formatting