Added support of JSON POST