added toObject() filters to all models, updated resources to cast to object before responding