Sync ssot

Placeholder, needs more tests and comments. 
Rename to getRecord