Restructure returned object with labels.