Storing JSON data - Function to call it

Writing a function to call the animation values from the sprite &
animation name?

Do I just want to call them all?

Store all the values centrally to save on space?