* Extract duplicated toJSON method to model helpers