logging flattened hashes & fix storyMode.generalRecord uninitialized