The JSON file that is written alongside each image has a size
field, but the is currently the same size passed back to the client, which is the output size. To use the JSON file as an input in #384, it needs to contain the original input size as well.