Being activemodel serialization compliant