Question: I am trying to get all product that are in my client's seller account. The problem is that Amazon MWS ListMatchingProducts api call returns a response of maximum 10 products. Actually I want to get all products that are in the seller's account. I have tried hard to find a solution for several days. Any helpful suggestion will be highly appreciated and thanked.

Answer: 
```
$finalresult = array();
$icount = 0 ;
foreach($result4 as $row) {
     foreach ( $row as $key => $val ) {

        $finalresult[$icount]["column"] = $key;
        $finalresult[$icount]["value"] = $val;
        $icount++;
     }
}   
$data['demo_info'] = $finalresult;

```
Try this:

```
$data = json_decode( $json );
$result = array();
$n=0;
foreach($data[0] as $k=>$v) {
    $result[$n]['column'] = $k;
    $result[$n]['value'] = $v;
    $n++;
}
$result_json = json_encode( $result );

```