Avoid use of .constantize in Entities controller for security