convert JSON feed to internal structure and send the result to caller