use json instead and purge after each new master