Removed getDataAsMap() from Document. Really bad form to always expect
document data to be able to represent as Map.