Get list of available TMs using REST

Hello fellow members

I used the REST API - /api/tmservice/tms to get the list of all available TMs. (In GroupShare 2017)

I receive the JSON string that has the list of available TMs. But it gives an error while parsing because the representation of  'metadata' object is not as per the swagger documentation.

It returns an empty Object - "metadata":{}

while the expected JSON representation is an array per swagger - "metadata":[]

Check out the documentation below.

http://gs2017dev.sdl.com:41235/docs/ui/index#!/Translation_Memories/TranslationMemories_Get

 "metadata": [
        {
          "key": "string",
          "value": {}
        }

Anybody had same issue, or any idea why this happens.

Thanks

Jayan