Improves json returned from sync controller
no longer returns empty json array
Adds sync_id and tombstonig