Taught set() to handle associative arrays/objects