changing the JSON POST behavior