Parse the pages argument as JSON. Get a database and do an empty transaction.