[Transformer] transform method could accept any kind of $data

As discuss in issue #12 remove the type hinting array as we could transform other kind of data.

Each transformer should validate its `$data` parameter.