Fixed #52, pseudo types were not properly being ignored when the omitempty flag was set