RecordEncoder can be chained to an activerecord relation or a class and will yield encoded representation