Added nvpairs to JSON endpoint requests.