extract parsed function

Introduce `parsed` function that can be used outside upload api