unify json response with _upload_file (no matter if file already exists or not), #225