adds api requestSerializer