json restructured and server propose implemented