Renaming
The mapping name -> id must store the lowercase name
Generate tags JSON data from the server-side DB
Removed the empty data set
Root tag may also be deleted from the children array
Changed comment
Added a FIXME
Added server code to delete a tag
Fixed incorrect PHP code
Server-side code to reparent a tag
Fixed insertion in children lists