Parse tuples and maps correctly