XD-1583: Add BSON support

https://jira.spring.io/browse/XD-1583
I am using JsonGenerator to convert bson's entry to a json string,  is there easier way to do it?