ext to json