Fixed OpenStruct merge issue

OpenStruct options have to be marshalled before attempting
a merge with defaults.