scenario: download key data in json format to mobile - then use offline (ie in areas where no wifi available) - then when back in wifi range, sync with db server
this is what pouch, couch offers but would like to do with postgresql if possible