Modified constructor to allow database configuration name to be set, allowing for multiple concurrent json databases