format instance tags appropriately