Fixed list generation in ArrayManipulator when key is null

Signed-off-by: Tom Wright <tom@inflatablecookie.com>