Add debug messages about fetched schema/morphlines
Extract Avro record building to separate clause