Fix conflict with 'fields' key in a document. (#120)