Json Format Javascript Object Restructuring Debt