option to decode request json into array instead of object.