Protect the individual setter calls in a PUT update with a try/catch block.
Formatting cleanup.
Punt on encoding for now until we find a better way.