Possible solution:
Bundle bundle = new Bundle();
bundle.putSerializable("key", new CustomObject());
Class CustomObject:
class CustomObject implements Serializable{
private SubCustomObject1 sc1;
private SubCustomObject2 sc2;
}
Subcustom objects:
class SubCustomObject1 implements Serializable{ }
class SubCustomObject2 implements Serializable{ }