setting up for json