Add aditional copy on write protection to JsonObject to avoid allowing users to mutate messages after they have been copied. Fixes bug 428788.