Fix for implicit JSON conversion on writes.