16882 cost attributes send via api when cost module deactivated

[``* `#16882` Cost attributes send via API v3 when cost module is deactivated``](https://community.openproject.org/work_packages/16882)