Throughout history the Jews have interpreted this, like Job, as what is known as a Pesher, an allegorical story meant to describe & teach a lesson or moral law, not a scientific or historic description.
Your insight about relating this to a parable is very accurate.. Jesus actually used the Pesher tool quite often in his teachings..