Update the way rehost replies to send JSON data instead, allowing proper handling of width/height attributes and styles.
add node_modules image-size