Sanity check

Instead of evaluating the data comming from POST try to parse as JSON.