Fixed search result serialisation