JSON Schema to Avro: write, and test, enum generation

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>