A reappraisal of kerogen formation