Filling outputformat list

First shot, far from perfect in term of memory management. To be
continued.