Setup create to respond to json