Convert mismatching types to plain objects, fixes #180