Add home_id to MongoDB documents