Added caching and unified GET based on default id
Select all or id based on type inference(default) cleaner if change key types