Converting MongoDB data to MySQL data using node.js