Modified JSON request based code change.