Support for passing a struct to a document instead of map[string]interface{}

AH I did not notice the old lib ignored empty maps as well. Sorry :disappointed: