mapfileparser - rework on OutputFormats

For now, to be coherent with other data structures, we construct th
object on the stack. Still not clear what it involves in term of leaking
memory ...