added checking if application supports json