New extractImages function to get the filename of the full sized
version of RTE embedded images and add these directly to the images
field in the JSON. Also set format for size variation suffix for RTE
resized images.