Adapted the get-text-fields() and set-text-fields() to work with maps.