CLJS-461: preserve metadata on automatic map conversions

Also includes basic tests based on the failing form from the ticket.