Check for valid JSON data before using
Merge pull request #133 from WP-API/check-valid-json

Added check for valid JSON data before using to avoid parameter overwrite.  Fixes #133