RavenDB-1826 Don't use BSON for internal storage