Franzi and I adding JSON parse function in top level M2 code.  Not yet completed