Ignore unrecognised fields when converting dict to obj