Fixed some issues with simple resolution result caching and serialisation/deserialisation. Added some logging.