set up JSON capture form