Add ability to send entire doc on write #36