MDL-47058 core_grades: removed unnecessary print_object call

Part of MDL-46576.
MDL-47058 core_grades: allow alteration of weight

Part of MDL-46576