Make number reading more generic so it can be passed to chunk reader in body