Test JSON payload for post