skip JSON parse on empty response; and transaction test fixup