use json db instead of mongo