pull might ask for non-existing keys
Cleaner JSON api (boring code)
Implement discover, push and pull