ActiveModel::Serializers inspired serailization/deserialization for backbone