Add json keyword
Implement fromObject