add brackets to resource classes in result