Python Create Empty Json And Javascript Form Submit