allow request to define custom parse functions