Fix flattened map parsing of a single element

cc @kyleknap