add json_for to messages and conversations