Bulk convert imported Markdown 'Documents' into entities

I used this import feature:

But that results in the markdown files to be Fibery Documents, not entities.

  • Is there a straightforward way to bulk-convert these Documents into database entities?
  • Maybe create a custom integration?
  • If not, what would be a GraphQL snippet look like that does that?

BTW I think there is already a feature request to improve Markdown import.