Fix reading very large metadata documents

Ran into the 1MB limit on 1C:Enterprise OData Service