1036also the firstborn of our sons and of our livestock as it is written in the law and the firstborn of our herds and of our flocks to bring to the house of our God to the priests who minister in the house of our God

What is the correctly punctuated version of this sentence?
10:36also the firstborn of our sons, and of our livestock, as it is written in the law, and the firstborn of our herds and of our flocks, to bring to the house of our God, to the priests who minister in the house of our God;