Change message resource to return created message entity