fix(builder): implement MarshalJSON for datetime de-serialization