A utility for generating static (non-reflect) MarshalJSON functions for arbitrary Go structs