Generate valid POSTS and PAGES in the wordpress importer