Added some funcs to json