Refactor fields to have values method that all classes have and a shared to_html method to process the values array.