XD-1583: Add BSON support

https://jira.spring.io/browse/XD-1583
if the lib throws io exception, I should rethrow it or just add it to the log4j