changing JSON object creation to support multiyear view