Promises, json "database" instead of mongo