The incident was caused by a logic error in the a_primitive?
method that breaks handling of nil
values.
Old logic (working):
elsif usage_schema.is_a?(Maestro::Runtime::Usage::Primitive) &&
[Hash, Array].exclude?(json_response.class) &&