Flattened MongoDB documents in DocumentStorage