Fixing bug where transformers would attempt to transform an array.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>