update avro 1.4.0 to 1.7.4

Old versions of avro do not handle well JSON representation of enums.
https://issues.apache.org/jira/browse/AVRO-1201
https://issues.apache.org/jira/browse/AVRO-713

That is, at least, one reason to upgrade avro version(s).