0.3.8 sort hash each method so json output is consistent