DOC-2845 improve REST template and style.