Fix name conflict in JobRecord

be explicit about which method we want to call in freemarker: commit() or getCommit().