Move api root JSON from doc to attachment

So we can avoid it in MapReduce. It should
be mostly static anyway.