removed customized code from loadjsontodatabase