import bpy, os
result = {
    'filepath': bpy.data.filepath,
    'cwd': os.getcwd(),
    'objects': [(o.name, o.type, tuple(round(x,4) for x in o.location), tuple(round(x,4) for x in o.dimensions)) for o in bpy.context.scene.objects],
    'active': bpy.context.view_layer.objects.active.name if bpy.context.view_layer.objects.active else None,
    'engine': bpy.context.scene.render.engine,
}