Merge pull request #14 from esseks/master

Making JSON dict-wrap default in models.
Moving session flush inside log_message.