Workaround to access document data at backend