Twig string variable changing to int(0)
It turns out that twig can't handle hyphens in their variable names.
Changing the variable names from

{{ social_media.facebook-color }}


to 

{{ social_media.facebook_color }}


resolved the issue