Utility to restore json data from aws-s3 to a rest endpoint