added support for 'details' param to GiraffeBase::to_dict()