Handle non existing description and escaping in markdown migration script

The existing migration script #714 did not worked for non existing `long_description` and also broke on escaping special characters.

This one should fix both issues in the migration script.