title: Drupal 8 JSON API : Convert relative url to absolute url
body: <p>I am using json api to fetch my sites content. The body field in the article contains some images which when fetched using json api returns image path in relative format (eg : <code>sites/default/files/08-2016/abcd.png</code>). But I want this images path in absolute format (eg : <code>http://www.mywebsite.com/sites/default/files/s/08-2016/abcd.png</code>).</p>