any "." in collection names will cause a bug as it will be an invalid SQL table name. Probably need better error handling for this