share/ShareJS — pull request #248 by tedsuo (2013-09-07 23:39:15+00:00)
Title: fetching document via REST returns entire document structure when envelope=true

I had to rename "snapshot" to "data" in a couple of places, but it did not appear to break anything. It's working in ethersheet at any rate. :)

I didn't verify, but looks like this solves the issue of fetching meta data as well, as it should be included in the response.