That macro will have a problem with PG 2.20. The JSON module is no longer used by webwork or PG. Instead the Mojo::JSON module is used. So the parserLewisStructureTool.pl macro will need to have line 281 deleted. That is the line that reads
my $json = JSON->new->allow_nonref;
. Then the lines that call $json->decode
need to be changed to call Mojo:JSON::decode_json
instead.