Add Array and stdClass to primitive data types