Improved parsing of the function documentation.
Output the json files to the specified output folder.