Wordpress: check for JSON-ness of data.