Added logic to remove `?` from field name

Signed-off-by: Elliot Condon <e@elliotcondon.com>