Fix bug that prevented from using nested arrays and hashes in payload