JSON version of LAML.g and converter