Make marshalTopLevelNumber pass tests.