Master now reads JSON input sent in POST request