create structured json data