public function exportArms($format = 'php', $arms = [])
    {
        $data = array(
                'token' => $this->apiToken,
                'content' => 'arm',
                'returnFormat' => 'json'
        );
        
        $legalFormats = array('csv', 'json', 'php', 'xml');
        $data['format'] = $this->processFormatArgument($format, $legalFormats);
        $data['arms']   = $this->processArmsArgument($arms);
        
        $arms = $this->connection->callWithArray($data);
        $arms = $this->processExportResult($arms, $format);
        
        return $arms;
    }