Use a Transformer for UserData as well, to avoid always copying arrays and dictionaries