fix(DartWriter): number (js) maps to num (dart)