Fix example code on scala json