getting the json generator to work with ASL types.