XD-1583: Add BSON support

https://jira.spring.io/browse/XD-1583
Don't do this. If the lib never throws IO exception itself, then this can be ignored given that you're using ByteArrayInputStream. If not, this must be dealt with