Change doc format to ResT