Updated base generate

Added root document id to document meta data
1 file changed