Add JSON class to MG SDK