Caching was messing up, was using sourceformat as part of key rather than dest format