Refactor anima loader into generic attributes hash