bug 875349: Build JSON metadata for Documents at rendering time
Merge pull request #1138 from lmorchard/875349-document-json-on-save

bug 875349: Build JSON metadata for Documents at rendering time