avro to json script