Implement setting element style properties. Improve serialization to return initial values when unspecified.