fix issue with root array element in json payload