change example run gas output to_array() in imam.php