make REST urls better