Add java fields to memory_model
Make snapshots lazy-loaded so we don't drag in associated dependencies