Separate parser from GELFProcessor so parsing logic can be reused