try to keep the json without any html. Move the link to the template and here leave just  :pretty_url field