Added servlet mapping to json requests.