`result.get('mozPerfMemory')` could be `None`. When testing locally, adding a default value of `[]` worked well.