Mapped Observable<StringDocument> to Observable<DatabaseResponse> for function getDocument().