Supersimple plugin for DocPad to send document meta and content as JSON when requested.
Just place it in your plugins directory and make requests, eg
curl -H "Accept: application/json" http://localhost:9778/You should get:
{
meta: {} // your document's metadata
content: "" // your content, not rendered
}