Generate valid self url
Add support for examples, restore author element