Correct boost test field (support ES 0.9 and 1.0).

In my tests, the mapping format returned by the getMapping function is
not the same between 0.90.11 and 1.0