separated JSON database utilities