further extraction of json - prep for db