getConstructNames2 function

Retrieve construct names in needed format.