(minor) using object instead of array for saving revisions

Change-Id: I8f7a7638d1f6a9cfceee8ef43b5cbe13c7bcf902
Merge "(minor) using object instead of array for saving revisions"