I took your input and came up with the following. I'm getting closer (I think).
var JSONobject = JSON.decode('['+response+']');
JSONobject.each(function(els){
$each(els, function(value, key){
console.log( key + ': ' + value );
});
});
this outputs the following:
password: [object Object]
passwordconfirm: [object Object]
costrate: [object Object]
firstname: [object Object]
lastname: [object Object]
username: [object Object]
officenumber: [object Object]
email: [object Object]
