Less opinonated about the expected type for query and document
Let the caller take responsiblity of unmarshalling data
Use int port rather than string
Marshal json in bulk api
Added parent field
Add errors field
Reduce memory usage of BulkSend