added to_json to message