builds basic json and carts