REST API: retrieve id only ids of relations

"autoPopulate": false removes the attribute entirely, but what is needed is the list of id’s.
For example, the correct output should be - "someAttributeName": [1,2,3,4,5]

I am on Strapi version 3.6.5.

update: this is a known bug - Setting autoPopulate to false on relations does not return ids. · Issue #4630 · strapi/strapi · GitHub fix and date tbc…