The returning value from a avro map should be an object not an array fixed issue