DataMapper plugin for serializing Resources and Collections