added clearing of unknown parameters map

not doing so caused undefined behavior in objects with multiple
materials using custom parameters.