How to drop 240V DC to 5V DC?
I would actually use a AC/DC wall-wart that I know uses a SMPS inside (most devices nowadays do). It will try to rectify the input voltage (which is already rectified) and after that it's the normal DC-DC conversion it usually does.

A surprising amount of electrical products for AC mains actually work on DC, as this guy demonstrates.