updates for new activemodel serialization