Generate fixtures from one object and all its hierarchy