beginnings of json support