code: def handle_json_input(data):
      nda = mx.nd.array(json.loads(data))
      return mx.io.NDArrayIter(nda, None, 1)
  
file_path: sagemaker-python-sdk/tests/data/mxnet_mnist/mnist_hosting_with_custom_handlers.py
imports: from __future__ import absolute_import
  import gzip
  import json
  import mxnet
  import numpy
  import os
  import struct
label_desc: Use image node_id 5 for calling a global function with example usage: handle_json_input(data) and returns: mx