API - Get Document key value pair as Linked Map

The current API documentUtility.getAsMap(doc, errorViews) returns the documents as a key value pair in a map. What I want is to retain the ordinal positioning of what is in the Document and get it as a Linked Map. So essentially documentUtility.getAsLinkedMap but this does not exist.

How can I get the document key value pair in the order as how they appear into a Linked Map?

Can you share some example what you get and what you want?