remove debugging stuff
indentation
add default collections as empty array
fixed bug with providing query params to sync