Exactly! Plugging this into Wolfram Alpha reveals that Earth's core is worth $3.268×10^19 (US dollars)[1]. For comparison total global wealth is merely US$431T.
1. thirty-two quintillion six hundred eighty quadrillion dollars
1. thirty-two quintillion six hundred eighty quadrillion dollars
Of course no market would hold a price when flooded with supply, but I bet our appetite for usable energy is higher than iron. That's a harder crystal ball estimation to quantify though.
http://www.wolframalpha.com/input/?i=%28specific%20heat%20of...
Hard coded number sanity check:
http://www.wolframalpha.com/input/?i=%280.44%20J%20%2F%20%28...