also since we are inside Targetprocess module is it possible to make something like this

error['Status'].constantize

?