schema: Change namespace def of generated dump function.
schema: Change namespace def of generated dump function.

Add OrderedDict to namespace at the correct location (was in
Schema.__init__, now at method where rest of namespace is determined).

b6d/lima