Yannis: SingletonArrayToValueTransformer works for Scala as well