[noticket] Wrap json.dumps in case data isn't coming from the form