fix variable naming bugs
nest JSONconverter.fun inside data_parser.fun, since it's exclusively used there.