crudely add all message codes to the generated json