Recursions a bit messed up somewhere.
This will correctly parse non-nested maps.