adapted rest service according to requirements (timestamp, root element)