Actually set the component field value

This uses overloaded conversion operators to convert the json11
objects to the field's native type.