Set value of static resource to a hash.