Stat fix
     * Exporting double stats as double (not as long)
     * Exporting protocol as int instead of Integer