Backport REST response converted data method and add simple tests for it
Merge branch '0.9.x'