Restore simple xml decoder as we cannot support Ruby-1.9.2
Added configuration