basic handling setup with json and expand