[Docs] update REST-Interface documentation

- add informations about the /rest/header call
[REST] add JSON support for /rest/headers/