Sample gm to json code for Jeff