Fail if a file (and sha) is not found
Convert the JSON to a string when sending

because processData is set to false
Use the internal updateTree instead of the public one