Converting a website from using SQL to NoSQL