create JSON and forms but posting fails