workind json and ser serial/deserial