updated object class fabric.js & export json