CDRIVER-398 support bson_init_from_json via array

didn't work before, works now
minor: lenght -> length