Parse stream json and return object