Sync Gateway PUT /{db}/ responds with "Bad JSON" - but JSON is valid

bucket should exist.