WIP: refactor: base impl of HandlerInfo
WIP: refactor: add serialize tests, cleanup
WIP: refactor: impl for HandlerInfo byParam and byObject