public function transform($json)
    {
        if (!is_string($json)) {
            throw new \InvalidArgumentException('$json variable is not a string.');
        }
        $assocArrayJson = json_decode($json, true);

        return $this->checkDecodedJson($assocArrayJson);
    }