test: lib_helper: Remove inline python

Using jq instead of python means we don't have to worry about py2 vs py3
incompatibilities.

Change-Id: Idabd488dc4e02250650d2eccece42968d993715a
1 file changed