Fix to resolving array element back references in JacksonTransformer

I think this fixes ERRAI-499 as it was the only way to reproduce a problem with the provided classes.
Merge branch 'master' into 3.0