Fixes issue where bad nonce is being reported on settings save

Issue was caused by plugins prepending text to the beginning of our payload. To fix, we strip everything before JSON starts.