move properties inside object