adding JSON M2 package, preliminary version