set log attributes in the databags rather than the model

The previous commit should dissapear once #99 is merged. I'll rebase then.

@dirk this should fix the broken mkcloud job?