Add functions and the jsonFormats