Move the mapping string to a constant in the controller class so it can be reused in the class.
Apply the same for the other mappings.