Adding application/json request header check, if so json_decode the input..