Use "let" keyword to define local variables

Instead of including a module.

Change-Id: Iaab4179b041d9396ab101c24ffb6b6d61bfba643
json gem is not used in tests

Change-Id: I73d5de79760d722e786759a51b85be2f2dc147db
Merge "json gem is not used in tests"