using json.dumps() instead of base string

Change-Id: Ie9f6083cc44e5efb091f4158614f41470054358d
Merge "using json.dumps() instead of base string"