Rest and thymeleaf