Json Format Javascript Object Restructuring Costs