array( "number"=>utf8_encode( $agreement->get( 'number' ) ), "product"=>array( "name"=>utf8_encode( $agreement->get( 'product.name') ), "price"=>utf8_encode( $agreement->get( 'product.price' ) ) ), "customer"=>array( "name"=>utf8_encode( $agreement->get( 'customer.name' ) ), "pid"=>utf8_encode( $agreement->get( 'customer.pid' ) ) ) ))); } } ?>