Sort json dump for consistent ouput