adding support for 'relationships' in logs schema