using Object.keys() instead of for () to retrieve latestVersion from view object
0.0.7