Adding handler for json based form data.