Fixed problem with mapping to record with unknown schema.