Slightly tangental, but it always irks me when I see these kinds of responses in JSON:
{
"success": "Reconfiguration done."
}
Really this should be something like "result": "success". Using "success" as a key name tells me nothing about the data it's representing.