TOOLS-473: validate upsertFields argument
TOOLS-473: refactor InputReader interface
TOOLS-473: remove ReadHeaderFromSource() interface function