fixed json array conversion in httprequest