Maintenance: Simplify reading of package.json by using require()

Change-Id: Ifdee4733527cca8353cb9b59d6079939fdd7309e