Added json output support for WebService
/ mkdir changes

+ Improved mkdir function
+ Integrated mkdir into staff