How can I troubleshoot this? The javascript debugger doesn't seem to work with this webscript.

Also, is there a way to tell what format the json object should have? For example, I just looked at the …/alfresco/service/script/org/alfresco/repository/person/person.put page and made a json object that conforms.