title: Transform ByteArray to java.lang.Object in one step
body: <p><a href="https://i.stack.imgur.com/JrrVE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JrrVE.png" alt="enter image description here"></a>What is the purpose of ByteArrayToObject if it returns String?</p>
  
  <p>In my flow, i am reading  Json content from a file using mule requester, converting to java.lang.Object before data weave by doing the below 3 steps
    (1) ByteArrayToString 
    (2) ObjectToJSON 
    (3) JSONTOObject  </p>
  
  <p>I would like to combine the above 3 steps to one using ByteArrayToObject transformer but as per the documentation, ByteArrayToObject returns String</p>
  
  <p><a href="https://docs.mulesoft.com/mule-user-guide/v/3.6/using-transformers" rel="nofollow noreferrer">https://docs.mulesoft.com/mule-user-guide/v/3.6/using-transformers</a></p>
  
  <p>Is there a way to combine the 3 steps to 1 step?</p>