Adding Java model to JSON conversion script