making use of ActiveModel::Serialization
Merge pull request #53 from goncalvesjoao/master

making use of ActiveModel::Serialization