if (!is_array($return) && is_string($return)) {
                $return = json_decode($return, true); 
            }