title: Custom JSON marshaling for external packages
body: <p>How can I add custom JSON marshaling to structs from external packages?  I am unable to add the <code>MarshalJSON</code> and <code>UnmarshalYAML</code> to these structs.</p>