Parse [] method call for hash, arrays