parse Json data file to Scala class file