switch from plain JSON to scala-js-pickling
remove type attribute of pojo