update config.json format
add python-magic for S3