Improve Process JSON with join on type & category