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