https://github.com/datamapper/dm-serializer