The vmware test package defines writeJSON as a function-local closure, so the new request-shape test needs its own package-level helper. Change-source: pulse-maintainer