more cleanup on postdata, renamed field to jsonData